package service

// 事件类型列表
const (
	TYPE_ACTION           = "action"
	TYPE_DEVICE           = "device"
	TYPE_PROFILE_CREATE   = "profile_create"
	TYPE_PROFILE_SET      = "profile_set"
	TYPE_PROFILE_REALNAME = "profile_realname"
	TYPE_PROFILE_DELETE   = "profile_delete"
	TYPE_ITEM_SET         = "item_set"
	TYPE_ITEM_DELETE      = "item_delete"
	TYPE_BUNDLE_SET       = "bundle_set"
	TYPE_BUNDLE_DELETE    = "bundle_delete"
	TYPE_ENTITY           = "entity"
)

// 预定义核心事件列表
const (
	// 注册/登录/支付
	EVENT_VISITOR_TO_REG = "$visitor2reg"
	EVENT_LOGIN          = "$login"
	EVENT_LOGOUT         = "$logout"
	EVENT_ORDER          = "$order"
	EVENT_REGISTER		 = "$register"
	EVENT_REALNAME		 = "$realname"
	EVENT_PROFILE_DELETE = "$profile_delete"

	// 广告渠道
	EVENT_AD_VIEW             = "$ad_view"
	EVENT_AD_CLICK            = "$ad_click"
	EVENT_DOWNLOAD_PAGE_CLICK = "$download_page_click"
	EVENT_DEVICE_INSTALL      = "$device_install"
	EVENT_DEVICE_UNINSTALL    = "$device_uninstall"
	EVENT_DEVICE_ACTIVATION   = "$device_activation"

	// item/bundle点击相关,用于付费推荐
	EVENT_ITEM_CLICK   = "$item_click"
	EVENT_ITEM_ORDER   = "$item_order"
	EVENT_ITEM_PAY     = "$item_pay"
	EVENT_ITEM_CONSUME = "$item_consume"
	EVENT_BUNDLE_CLICK = "$bundle_click"
	EVENT_BUNDLE_ORDER = "$bundle_order"
	EVENT_BUNDLE_PAY   = "$bundle_pay"
)